package com.itheima.config;

import org.springframework.context.annotation.*;
import org.springframework.stereotype.Controller;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Configuration
@ComponentScan(value = "com.itheima", excludeFilters = @ComponentScan.Filter(type = FilterType.ANNOTATION, value = {Configuration.class, Controller.class}))
@PropertySource("classpath:jdbc.properties")
@EnableTransactionManagement
@Import({JDBCConfig.class, MysqlConfig.class})
public class SpringConfig {
}
